package com.djb.entity;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class Goods {
    private Integer id;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date stime;
    private String gnumber;
    private Integer yid;
    private Integer zid;
    private String client;
    private String khfsid;
    private Integer uid;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date ztime;
    private String picture;
    private String remark;

    private String yname;
    private String zname;
    private String uname;
    private String password;
    private Integer role;
    private String unumber;

    @Override
    public String toString() {
        return "Goods{" +
                "id=" + id +
                ", stime=" + stime +
                ", gnumber='" + gnumber + '\'' +
                ", yid=" + yid +
                ", zid=" + zid +
                ", client='" + client + '\'' +
                ", khfsid='" + khfsid + '\'' +
                ", uid=" + uid +
                ", ztime=" + ztime +
                ", picture='" + picture + '\'' +
                ", remark='" + remark + '\'' +
                ", yname='" + yname + '\'' +
                ", zname='" + zname + '\'' +
                ", uname='" + uname + '\'' +
                ", password='" + password + '\'' +
                ", role=" + role +
                ", unumber='" + unumber + '\'' +
                '}';
    }

    public Goods() {
    }

    public Goods(Integer id, Date stime, String gnumber, Integer yid, Integer zid, String client, String khfsid, Integer uid, Date ztime, String picture, String remark, String yname, String zname, String uname, String password, Integer role, String unumber) {
        this.id = id;
        this.stime = stime;
        this.gnumber = gnumber;
        this.yid = yid;
        this.zid = zid;
        this.client = client;
        this.khfsid = khfsid;
        this.uid = uid;
        this.ztime = ztime;
        this.picture = picture;
        this.remark = remark;
        this.yname = yname;
        this.zname = zname;
        this.uname = uname;
        this.password = password;
        this.role = role;
        this.unumber = unumber;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Date getStime() {
        return stime;
    }

    public void setStime(Date stime) {
        this.stime = stime;
    }

    public String getGnumber() {
        return gnumber;
    }

    public void setGnumber(String gnumber) {
        this.gnumber = gnumber;
    }

    public Integer getYid() {
        return yid;
    }

    public void setYid(Integer yid) {
        this.yid = yid;
    }

    public Integer getZid() {
        return zid;
    }

    public void setZid(Integer zid) {
        this.zid = zid;
    }

    public String getClient() {
        return client;
    }

    public void setClient(String client) {
        this.client = client;
    }

    public String getKhfsid() {
        return khfsid;
    }

    public void setKhfsid(String khfsid) {
        this.khfsid = khfsid;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Date getZtime() {
        return ztime;
    }

    public void setZtime(Date ztime) {
        this.ztime = ztime;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getYname() {
        return yname;
    }

    public void setYname(String yname) {
        this.yname = yname;
    }

    public String getZname() {
        return zname;
    }

    public void setZname(String zname) {
        this.zname = zname;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getRole() {
        return role;
    }

    public void setRole(Integer role) {
        this.role = role;
    }

    public String getUnumber() {
        return unumber;
    }

    public void setUnumber(String unumber) {
        this.unumber = unumber;
    }
}
